package model

type Like struct {
	Id     uint64 `gorm:"column:id;type:int UNSIGNED;primaryKey;not null;" json:"id"`
	UserId uint64 `gorm:"column:user_id;type:int;not null;" json:"user_id"`
	WorkId uint64 `gorm:"column:work_id;type:int;not null;" json:"work_id"`
	Status string `gorm:"column:status;type:varchar(5);not null;" json:"status"`
}

func (l *Like) TableName() string {
	return "like"
}
